#include "AreaIntegrator.hxx"

int main(void)
{
    AreaIntegrator ai;

    ai.setOrthFile("/home/hzy/XXH20190820A1.TIFF");
    ai.setDEMFile("/home/hzy/XXH20190820A1DEM.TIFF");
    ai.setLabelFile("/home/hzy/XXH20190820A1.png");

    ai.addLabel(AILabel(0,"Empty"));
    ai.addLabel(AILabel(1,"Grass Bank"));

    ai.computeAreas();


    return 0;
}